import { reactive } from "../../reactive";
import { effect } from "../../effect/effect";

const state = reactive({
  a: 123,
  b: 456,
  c: {
    c1: 1,
    c2: 2,
  },
});

effect(() => {
  // 访问b成员

  console.log("effect执行啦", state.b);
});

state.b = 10;
